package org.opsli.modulars.business.appValveWell.service.Impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.opsli.modulars.business.appValveWell.entity.AppValveDeviceNow;
import org.opsli.modulars.business.appValveWell.entity.AppValveDeviceNowHis;
import org.opsli.modulars.business.appValveWell.mapper.AppTwoValveNowTimeHisMapper;
import org.opsli.modulars.business.appValveWell.mapper.AppTwoValveNowTimeMapper;
import org.opsli.modulars.business.appValveWell.service.AppTwoValveNowTimeHisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AppTwoValveNowTimeHisServiceImpl implements AppTwoValveNowTimeHisService {

    @Autowired
    AppTwoValveNowTimeHisMapper mapper;


    @Override
    public Page<AppValveDeviceNowHis> getMyList(Page<AppValveDeviceNowHis> page, AppValveDeviceNowHis announcementSendModel, Integer beginSize, Integer endSize) {
        return page.setRecords(mapper.getMyList( announcementSendModel,beginSize,endSize));
    }
}